package com.fas.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 漏检记录实体类
 */
@Data
public class MissedInspectionVo implements Serializable {

    private Integer deptId;//单位id
    private String deptName;//单位名称
    private Integer id;//设施id
    private Integer facilityType;//设施类型id
    private String facilityTypeName;//设施类型名称
    @JsonSerialize(using = LongJsonSerializer.class)
    @JsonDeserialize(using = LongJsonDeserializer.class)
    private Long taskId;//任务id
    private String position;//设施位置
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date plannedCompletionTime;//计划完成时间
    private Integer facilitiesDistribution;//设施分布，室内或者室外（0：室内，1：室外）
}
